﻿@model Leikjavefurinn.UserExtention

@{
    ViewBag.Title = "DisplayPicture";
}

<h2>DisplayPicture</h2>

<fieldset>
    <legend>User Information</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.PictureURL)
    </div>
    <div class="display-field">
        <img src="@Html.DisplayFor(model => model.PictureURL)" alt="profile pic" />
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Score)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Score)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Rate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Add Picture", "AddPicture", new { id=Model.User }) |
    @Html.ActionLink("Back to List", "Index")
</p>


